package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class CursorScrollability {

    private int beginIndex;
    private int endIndex;
    private boolean scroll;
    private boolean noScroll;

    public CursorScrollability(int beginIndex,
                             int endIndex,
                             boolean scroll,
                             boolean noScroll) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.scroll = scroll;
        this.noScroll = noScroll;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isScroll() {
        return scroll;
    }

    public boolean isNoScroll() {
        return noScroll;
    }

}
